import request from "@/utils/request";

export const GetorderList = (pageIndex: number, pageSize: number) => request({ url: `api/order-service/order/search?pageIndex=${pageIndex}&pageSize=${pageSize}` })
//获取初始化列表
export const GetordDate = (pageIndex: number, startDate?: string, endDate?: string, orderNo?: number) => request({ url: `api/order-service/order/search?pageIndex=${pageIndex}&pageSize=10&orderNo=${orderNo}&startDate=${startDate}&endDate=${endDate}` })
//获取查询
export const GetordDate1 = (pageIndex: number, orderNo?: string) => request({ url: `api/order-service/order/search?pageIndex=${pageIndex}&pageSize=10&orderNo=${orderNo}` })
export const GetordDate2 = (pageIndex: number, startDate?: string, endDate?: string) => request({ url: `api/order-service/order/search?pageIndex=${pageIndex}&pageSize=10&startDate=${startDate}&endDate=${endDate}` })